package com.yunxi.sto.pojo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yunxi.core.web.DateJsonDeserializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@ApiModel(value="ExpCarVO 对象", description="体验车租赁时间")
public class ProductAnalyzeVO implements Serializable {


   @ApiModelProperty(value = "金融公司")
   private String financingInsitution;

   @ApiModelProperty(value = "比例")
   private String ratio;

   @ApiModelProperty(value = "金融业务申请数")
   private String applyCount;

   @ApiModelProperty(value = "申请比例占比")
   private String applyRatio;

   @ApiModelProperty(value = "金融业务交付数")
   private String handleCount;

   @ApiModelProperty(value = "交付比例占比")
   private String handleRatio;



   @ApiModelProperty(value = "金融公司代码")
   private String partnerCodes;

   @ApiModelProperty(value = "金融公司代码集合")
   private List<String> partnerCodeList;

   @ApiModelProperty(value = "类型1首付2留购价3保证金4利率")
   private String businessType;

   @ApiModelProperty(value = "结束时间")
   @JsonDeserialize(using = DateJsonDeserializer.class)
   @DateTimeFormat(pattern = "yyyy-MM-dd")
   private Date endTime;

   @ApiModelProperty(value = "开始时间")
   @JsonDeserialize(using = DateJsonDeserializer.class)
   @DateTimeFormat(pattern = "yyyy-MM-dd")
   private Date startTime;



}
